//
//  CXHTopOnCommonBiddingRequest.h
//  CXHAdSDK-TopOn
//
//  Created by 陈坤 on 2024/10/14.
//

#import <Foundation/Foundation.h>
#if __has_include(<AnyThinkSDK/AnyThinkSDK.h>)
#import <AnyThinkSDK/AnyThinkSDK.h>
#else
#import "AnyThinkSDK.h"
#endif

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, CXHAdFormat) {
    CXHAdFormatSplash = 0,
    CXHAdFormatNative,
    CXHAdFormatRewardedVideo,
    CXHAdFormatBanner,
    CXHAdFormatInterstitial,
};

@interface CXHTopOnCommonBiddingRequest : NSObject

@property(nonatomic, strong) id customObject;

@property(nonatomic, strong) ATUnitGroupModel *unitGroup;

@property(nonatomic, strong) ATAdCustomEvent *customEvent;

@property(nonatomic, copy) NSString *unitID;

@property(nonatomic, copy) NSString *placementID;

@property(nonatomic, copy) NSDictionary *extraInfo;

@property(nonatomic, assign) CXHAdFormat adType;

@property (nonatomic, strong) NSArray *nativeAds;

@property(nonatomic, copy) void(^bidCompletion)(ATBidInfo * _Nullable bidInfo, NSError * _Nullable error);

@property (nonatomic, strong) NSString *UUID;
@end

NS_ASSUME_NONNULL_END
